package com.myapi.client.DAO;

import java.io.Serializable;

import javax.jdo.annotations.Extension;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.NotPersistent;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;


@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class DealerDAO implements Serializable{
	@PrimaryKey      
	   @Extension(vendorName="datanucleus", key="gae.encoded-pk", value="true")
	     @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
		     private String cId; 
	
	@Persistent
	String id;
	@Persistent
	CardDeckDAO cardDeck;
	@NotPersistent
	TableDAO table;

	public DealerDAO(){
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public CardDeckDAO getCardDeck() {
		return cardDeck;
	}

	public void setCardDeck(CardDeckDAO cardDeck) {
		this.cardDeck = cardDeck;
	}

	public TableDAO getTable() {
		return table;
	}

	public void setTable(TableDAO table) {
		this.table = table;
	}

}
